import java.util.ArrayList;
import java.util.List;

public class TeamLead extends Developer
{
	private final List<Developer> team;
	private final int teamNumber;

	public TeamLead(Schedule schedule, int teamNumber, List<Developer> team)
	{
		super(schedule, teamNumber);
		this.team = team;
		this.teamNumber = teamNumber;
	}

	public List<Employee> getDevs()
	{
		return new ArrayList<Employee>(team);
	}

	public int getTeamNumber()
	{
		return teamNumber;
	}

	public List<Employee> getTeamIncludingSelf()
	{
		List<Employee> entireTeam = new ArrayList<Employee>();
		entireTeam.addAll(team);
		entireTeam.add(this);
		return entireTeam;
	}
	

}
